for i in range(1,101):
    print(i)
    for k in range(1,10):
        print(k)